package org.example.diet_compass.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.diet_compass.domain.Users;

/**
* @author 86135
* @description 针对表【users(用户基本信息表)】的数据库操作Service
* @createDate 2025-03-02 15:03:07
*/
public interface UsersService extends IService<Users> {
    Users getUser(String openid);

    void insertUser(Users user);

    void updateUserInfo(Users user);

    Users getUserById(int userId);

    void updateUserAvatar(int userId, String fileUrl);

    String getAvatarUrlById(int userId);
}
